﻿using System;

namespace diantou.web.emanagement
{
    /// <summary>
    /// 企业账户记录
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class account : adminView<account>
    {
        /// <summary>
        /// 企业账户记录
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.examDataAccess.enterpriseAccount[] accounts;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="page"></param>
        /// <returns></returns>
        private bool loadView(int userId, int page)
        {
            if (userId == 0) accounts = diantou.examDataAccess.tcpCall.enterpriseAccount.get(pageInfo.Size = 50, pageInfo.Page = page, out pageInfo.Count);
            else accounts = diantou.examDataAccess.tcpCall.enterpriseAccount.get(userId, pageInfo.Size = 50, pageInfo.Page = page, out pageInfo.Count);
            return true;
        }
    }
}
